row = 1
col = 1
for row in range(1, 10):
    for col in range(1, row + 1):
        print("  %dx%d=%d" % (col, row, col * row),end="  ")
        col += 1
    row += 1
    print("\n")
